// export interface ResponseData<T = any> {
//   status: number
//   msg: string
//   data: T
// }

export interface SigninInfoType {
  logo_square: string
  logo_rectangle: string
  login_logo: string
  slide: string[]
}

export interface UserInfoType {
  id: number
  account: string
  head_pic: string
}

export interface MenuType {
  path: string
  title: string
  icon: string
  header: string
  is_header: number | boolean
  children?: MenuType[]
}

export interface SigninReqType {
  account: string
  pwd: string
  imgcode: string
}

export interface SigninResType {
  token: string
  expires_time: number
  menus: string[]
  unique_auth: string[]
  user_info: UserInfoType
  logo: string
  logo_square: string
  version: string
  newOrderAudioLink: string
}
